package com.jingdianjichi.subject.domain.convent;

import com.jingdianjichi.subject.domain.entity.SubjectAnswerBo;
import com.jingdianjichi.subject.domain.entity.SubjectLabelBo;
import com.jingdianjichi.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectAnswerConventer {

    SubjectAnswerConventer INSERT = Mappers.getMapper(SubjectAnswerConventer.class);

    SubjectAnswerBo conventBoToLabel(SubjectLabelBo subjectLabelBo);


    List<SubjectAnswerBo> conventBoToLabel(List<SubjectLabel> subjectLabelList);

}
